import request from '@/utils/request'

export function getAll() {
  return request({
    url: '/stage/all',
    method: 'get'
  })
}

export function updateStage(orderId, state) {
  return request({
    url: '/stage/adult',
    method: 'put',
    params: {
      orderId: orderId,
      state: state
    }
  })
}
